import Vue from 'vue'
import {
  Button, form, formItem, input, Message, Container, Header, Aside, Main,
  Menu, Submenu, MenuItemGroup, MenuItem, Breadcrumb, breadcrumbItem, Card,
  Row, Col, Table, TableColumn, Switch, Icon, Tooltip, Pagination, Dialog,
  MessageBox, Tag, Tree, Select, Option, Cascader, Alert, Tabs, TabPane, Steps, Step,
  CheckboxGroup, Checkbox, Upload
} from 'element-ui'
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm

Vue.use(Button).use(form).use(formItem).use(input).use(Container).use(Header).use(Aside)
  .use(Main).use(Menu).use(Submenu).use(MenuItemGroup).use(MenuItem).use(Breadcrumb)
  .use(breadcrumbItem).use(Card).use(Row).use(Col).use(Table).use(TableColumn).use(Switch)
  .use(Icon).use(Tooltip).use(Pagination).use(Dialog).use(Tag).use(Tree).use(Select).use(Option)
  .use(Cascader).use(Alert).use(Tabs).use(TabPane).use(Steps).use(Step).use(CheckboxGroup).use(Checkbox)
  .use(Upload)
